home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / diskusg.z / diskusg
Encoding:
Text File  |  2001-04-17  |  5.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ddddiiiisssskkkkuuuussssgggg((((1111MMMM))))                                                        ddddiiiisssskkkkuuuussssgggg((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _dddd_iiii_ssss_kkkk_uuuu_ssss_gggg - generate disk accounting data by user ID
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_dddd_iiii_ssss_kkkk_uuuu_ssss_gggg [_o_p_t_i_o_n_s] [_f_i_l_e_s]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _dddd_iiii_ssss_kkkk_uuuu_ssss_gggg generates intermediate disk accounting information from data in
  16.      _f_i_l_e_s or the standard input if omitted.  _dddd_iiii_ssss_kkkk_uuuu_ssss_gggg outputs lines on the
  17.      standard output (one per user) in the following format:
  18.  
  19.           _u_i_d _l_o_g_i_n #_b_l_o_c_k_s
  20.  
  21.      where
  22.  
  23.      _u_i_d       is the numeric user ID of the user
  24.      _l_o_g_i_n     is the login name of the user
  25.      #_b_l_o_c_k_s   is the total number of disk blocks allocated to this user
  26.  
  27.      _dddd_iiii_ssss_kkkk_uuuu_ssss_gggg is normally used to read the inodes of _eeee_ffff_ssss or _xxxx_ffff_ssss filesystems for
  28.      disk accounting.  In this case, _f_i_l_e_s are the special filenames of these
  29.      devices.
  30.  
  31.      _dddd_iiii_ssss_kkkk_uuuu_ssss_gggg recognizes these options:
  32.  
  33.      _----_ssss           Combine all lines for a single user into a single line.
  34.                   (The input data is already in _dddd_iiii_ssss_kkkk_uuuu_ssss_gggg output format.)
  35.  
  36.      _----_vvvv           Print (on standard error) a list of all files charged to no
  37.                   one.
  38.  
  39.      _----_uuuu _f_i_l_e      Write (to _f_i_l_e) records of files that are charged to no one.
  40.                   Records consist of the special filename, the inode number,
  41.                   and the user ID.
  42.  
  43.      _----_iiii _f_n_m_l_i_s_t   Ignore the data on those filesystems for which a name is
  44.                   recorded in _f_n_m_l_i_s_t.  (_f_n_m_l_i_s_t is a list of filesystem names
  45.                   separated by commas or enclosed within quotes.)  _dddd_iiii_ssss_kkkk_uuuu_ssss_gggg
  46.                   compares each name in this list with the filesystem name
  47.                   stored in the volume ID.  (See _llll_aaaa_bbbb_eeee_llll_iiii_tttt(1M).)  This option is
  48.                   inoperative for _xxxx_ffff_ssss filesystems, because there's no way to
  49.                   set the filesystem name.
  50.  
  51.      The environment variable _A_C_C_T__M_A_X_U_S_E_R_S is checked in order to allocate
  52.      enough memory to handle the maximum number of distinct users that might
  53.      need to be reported.  The environment variable _A_C_C_T__M_A_X_I_G_N is checked in
  54.      order to allocate enough memory to keep track of the maximum number of
  55.      filesystem names that will be ignored in the report.
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ddddiiiisssskkkkuuuussssgggg((((1111MMMM))))                                                        ddddiiiisssskkkkuuuussssgggg((((1111MMMM))))
  71.  
  72.  
  73.  
  74. FILES
  75.      _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd   used for conversions of user IDs to login names
  76.  
  77. UUUUSSSSAAAAGGGGEEEE
  78.      The output of the _dddd_iiii_ssss_kkkk_uuuu_ssss_gggg command is normally the input to _aaaa_cccc_cccc_tttt_dddd_iiii_ssss_kkkk (see
  79.      _aaaa_cccc_cccc_tttt(1M)), which generates total accounting records that can be merged
  80.      with other accounting records.  _dddd_iiii_ssss_kkkk_uuuu_ssss_gggg is normally run in _dddd_oooo_dddd_iiii_ssss_kkkk.  (See
  81.      _dddd_oooo_dddd_iiii_ssss_kkkk(1M).)
  82.  
  83.      _aaaa_cccc_cccc_tttt_dddd_uuuu_ssss_gggg (see _aaaa_cccc_cccc_tttt(1M)) can be used on all filesystem types but is slower
  84.      than _dddd_iiii_ssss_kkkk_uuuu_ssss_gggg.
  85.  
  86. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  87.      Generate daily disk accounting information for the root filesystem on
  88.      _////_dddd_eeee_vvvv_////_dddd_ssss_kkkk_////_dddd_kkkk_ssss_0000_dddd_1111_ssss_0000 (where root is an _eeee_ffff_ssss or _xxxx_ffff_ssss filesystem):
  89.  
  90.           _dddd_iiii_ssss_kkkk_uuuu_ssss_gggg _////_dddd_eeee_vvvv_////_dddd_ssss_kkkk_////_dddd_kkkk_ssss_0000_dddd_1111_ssss_0000 _|||| _aaaa_cccc_cccc_tttt_dddd_iiii_ssss_kkkk _>>>> _dddd_iiii_ssss_kkkk_tttt_aaaa_cccc_cccc_tttt
  91.  
  92.  
  93. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  94.      acct(1M), dodisk(1M), acct(4).
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.